package com.qf.entity;

import java.util.Set;

/**
 * 客户表对应的实体类
 * @author zjw
 */
public class Customer {

    private Integer id;

    private String name;

    /**
     * 维护客户与联系人的一对多关系
     */
    private Set<Linkman> linkmanSet;


    public Set<Linkman> getLinkmanSet() {
        return linkmanSet;
    }

    public void setLinkmanSet(Set<Linkman> linkmanSet) {
        this.linkmanSet = linkmanSet;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
